<template>
  <div>
    <Table :column="column" :data="users"></Table>
  </div>
</template>

<script>
// 同步导入
import Table from './components/Table'
export default {
  components: {
    Table
  },
  data() {
    return {
      users: [
        { id: 1, name: '张在', age: 10 },
        { id: 2, name: '李四', age: 11 },
        { id: 3, name: '王五', age: 12 }
      ],
      column: {
        id: '编号',
        name: '姓名',
        age: '年龄',
        action:'操作@'
      }
    }
  },
  methods: {}
}
</script>

<style lang="scss" scoped></style>
